package com.kai.service.data.response.upload;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
@Schema(description = "单文件上传响应参数")
public class SingleFileUploadResponse {
    /**
     * 文件地址
     */
    @Schema(description = "文件地址", requiredMode = Schema.RequiredMode.REQUIRED)
    String url;

    /**
     * 预签名上传url
     */
    @Schema(description = "预签名上传url", requiredMode = Schema.RequiredMode.REQUIRED)
    String preSignUploadUrl;
}
